package appapi.service;

import appapi.Vo.bigScreen.EquipTypeTreeVo;
import appapi.dto.basic.EquipTypeVo;
import appapi.dto.basic.GenerateImportDto;
import appapi.entity.basic.EquipmenttypeEntity;

import java.util.List;
import java.util.Map;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/27 16:32
 */
public interface EquipmenttypeService{


    int deleteByPrimaryKey(Long equipTypeId);

    int insert(EquipmenttypeEntity record);

    int insertSelective(EquipmenttypeEntity record);

    List<EquipmenttypeEntity> queryList(String equipTypeName);
    EquipmenttypeEntity selectByPrimaryKey(Long equipTypeId);

    int count(EquipmenttypeEntity record);
    int updateByPrimaryKeySelective(EquipmenttypeEntity record);

    int updateByPrimaryKey(EquipmenttypeEntity record);

    List<Map<String,Object>> getTypeList();


    GenerateImportDto importTypeList(List<EquipTypeVo> voList);

    int SaveBatch(String projectNo);

    List<EquipTypeTreeVo> getTreeLazy(Long equipTypeId);

    List<EquipTypeTreeVo> getTree();
}
